<div class="midwinningplaces form">
<h2>Добавление записи</h2>
<h5>Тип добавляемой записи <?php echo $recordtypes[$recordtype_id]; ?></h5>
<?php echo $this->Form->create('Midwinningplace'); ?>
	<fieldset>
		<legend><?php echo __('Add Midwinningplace'); ?></legend>
		<?php 
			echo $this->form->hidden('recordtype_id', array('value' => $recordtype_id));
		?>
<table width="100%" class="invisibletable">
  <tr>
    <td width="15%" align="right">Призовое место</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php echo $this->Form->input('midwinningplacetype_id', array('label' => '', 'empty' =>'Выберите полученное призовое место')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Тип соревнования</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php echo $this->Form->input('midcompetitiontype_id', array('label' => '', 'empty' =>'Выберите тип соревнования')); ?></td>
  </tr>
      <tr>
    <td width="15%" align="right">Название соревнования</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php echo $this->Form->input('competition_name', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Дополнительная информация</td>
    <td width="2%" align="right">&nbsp;</td>
    <td width="45%"><?php echo $this->Form->input('competition_info', array('label' => '')); ?></td>
  </tr>
</table>
	<?php 
		echo $this->Form->hidden('recstatus_id', array('value' => '1'));
	?>
	</fieldset>
	<br />
<?php echo $this->Form->end(__('Submit')); ?>
</div>
  